﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TDNA
{
    public class BasicLevel
    {
        public GameObj[,] Grid {get; set;}
        public tdVector2 Size { get; set; }
        public tdVector2 Start { get; set; }
        public tdVector2 End { get; set; }
        public int HP { get; set; }

        public BasicLevel(int size)
        {
            Grid = new GameObj[size,size];
            Size = new tdVector2(size, size);
            Start = new tdVector2(0, 0);
            End = new tdVector2(size - 1, size - 1);

            for(int i=0; i<Size.X;i++)
            {
                for(int j = 0; j<Size.Y; j++)
                {
                    Grid[i, j] = new FlatGameObj();
                    Grid[i, j].Pos = new tdVector2(i, j);
                }
            }

        }
    }
}
